/**   
 * 项目名：化工企业安全生产信息化管理平台
 * 日期：    2020-03-25 21:12:01  
 * Copyright (c) 2015- -版权所有     
 */

package com.joysuch.wwyt.bp.bean;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class BpIndustrialInjureApplyEditBean implements java.io.Serializable {

    // ID
    private Long id;
    // 事故ID
    @NotNull(field = "事故ID")
    private Long accidentId;
    // 申报人
    @NotNull(field = "申报人")
    private Long applyUserId;
    // 申报人姓名
    @Length(max = 12)
    private String applyUserName;
    // 申报人性别
    @NotNull(field = "申报人性别")
    @Length(max = 1)
    private String applyUserSex;
    // 申报人部门ID
    @NotNull(field = "申报人部门ID")
    private Long applyUserDepartId;
    // 申报人部门名称
    @Length(max = 200)
    private String applyUserDepartName;
    // 申报时间
    @NotNull(field = "申报时间")
    private java.util.Date applyTime;
    @NotNull(field = "上报时间")
    private java.util.Date reportTime;
    // 工伤类型
    @NotNull(field = "工伤类型")
    private Long injuryType;
    // 损失工时
    @NotNull(field = "损失工时")
    private Integer workTimeLoss;
    // 就诊医院
    @NotNull(field = "就诊医院")
    @Length(max = 100)
    private String hospital;
    // 就诊结果
    @NotNull(field = "就诊结果")
    @Length(max = 500)
    private String doctorResult;
    // 注意事项
    @Length(max = 65535)
    private String attendtionMatters;
    // 备注
    @Length(max = 65535)
    private String remark;
    // 附件ID, 附件
    private BaseAttachmentBean attachment;
    // 材料是否齐全
    @NotNull(field = "材料是否齐全")
    @Length(max = 2)
    private String allMaterialOk;
    // 状态
    private Byte state;
}
